package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface CheckSetmealDao {
    void add(Setmeal setmeal);

    void addMealAndGroup(Map map);

    Page<Setmeal> selectByCondition(String queryString);

    Setmeal findById(int id);

    List<Integer> findGroupById(int id);

    void edit(Setmeal setmeal);

    void deleteCheckGroup(int id);

    void deleteByIds(int id);

    List<Setmeal> findAll();

    List<Map<String, Object>> findSetmealCount();

    String findNameById(Integer setmealId);
}
